home *** CD-ROM | disk | FTP | other *** search
/ AMOS PD CD / amospdcd.iso / aminet / amoslist0993.lzh / AMOSLIST2 / 000045_amos-request@svcs1.digex.net_Wed Sep 1 11:28:32 1993.msg < prev    next >
Internet Message Format  |  1993-09-03  |  2KB

  1. Received: from nextsun.INS.CWRU.Edu by access.digex.net with SMTP id AA01497
  2.   (5.65c/IDA-1.4.4 for <mcox@access.digex.com>); Wed, 1 Sep 1993 11:28:29 -0400
  3. Received: from svcs1.digex.net by nextsun.INS.CWRU.Edu with SMTP (5.65b+ida+/CWRU-1.5.2-freenet-gw)
  4.     id AA01062; Wed, 1 Sep 93 11:27:43 -0400 (from amos-request@svcs1.digex.net for mcox@access.digex.com)
  5. Received: by svcs1.digex.net id AA07287
  6.   (5.65c/IDA-1.4.4 for amos-list-out); Wed, 1 Sep 1993 11:14:33 -0400
  7. Received: from access.digex.net by svcs1.digex.net with SMTP id AA07283
  8.   (5.65c/IDA-1.4.4 for <amos-list@svcs1.digex.net>); Wed, 1 Sep 1993 11:14:31 -0400
  9. Received: from ns-mx.uiowa.edu by access.digex.net with SMTP id AA26010
  10.   (5.65c/IDA-1.4.4 for <amos-list@access.digex.net>); Wed, 1 Sep 1993 11:14:29 -0400
  11. Received: from umaxc.weeg.uiowa.edu by ns-mx.uiowa.edu (5.64.jnf/920408)
  12.       on Wed, 1 Sep 93 10:14:26 -0500 id AA14118 with SMTP 
  13. Received: by umaxc.weeg.uiowa.edu (5.61.jnf/930730)
  14.       on Wed, 1 Sep 93 10:13:59 -0500 id AA13758 
  15. Date: Wed, 1 Sep 1993 10:09:54 -0500 (CDT)
  16. From: Chris Richards <crichard@umaxc.weeg.uiowa.edu>
  17. Subject: Re: Compiler & Disc problems
  18. To: Martin Omander <e91mom@efd.lth.se>
  19. Cc: amos-list@access.digex.net
  20. In-Reply-To: <m0oXsbJ-0000RZC@jupiter-5.efd.lth.se>
  21. Message-Id: <Pine.3.07.9309011051.A24513-a100000@umaxc.weeg.uiowa.edu>
  22. Mime-Version: 1.0
  23. Content-Type: TEXT/PLAIN; charset=US-ASCII
  24. Status: RO
  25.  
  26.  
  27.  
  28. On Wed, 1 Sep 1993, Martin Omander wrote:
  29.  
  30. >    Problem no 2:
  31. >    As the game may take several hours to finish, I've included a save
  32. > feature. It writes a sequential file to disc of the important
  33. > variables, which amounts to about 11 Kb. The trouble is that writing
  34. > and reading those files is VERY SLOW going. Where am I going wrong?
  35.  
  36. I don't think there's any practical way to speed up a sequential file disk
  37. access, particularly when you are writing a lot of numbers one by one.  A
  38. nifty trick that you can do, however, is to write all of the variables
  39. you'd like to save to an AMOS bank and then save the bank.  This is very
  40. fast.  Then, when you want your variables back, just load the bank and
  41. read them from memory.
  42.  
  43. Chris R
  44.  
  45.  
  46.